angular.module('faApp')
  .service('settingService', [ 'ajaxService',function (ajaxService) {

    this.settingList = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("API_SETTING_LIST"), cfg || {});
    };

    this.settingUpdate = function (s) {
      return ajaxService.jsonp(ajaxService.getApiUri("API_SETTING_UPDATE"), s || {});
    };
}]);